/**
 * @projectName gs_online
 * @package com.answer.wx.gateway.service
 * @className com.answer.wx.gateway.service.CounterService
 */
package com.answer.wx.gateway.service;

import com.answer.wx.dao.model.Counter;

import java.util.Optional;

/**
 * CounterService
 * @description
 * @author answer_wx
 * @date 2022/8/6 11:44
 * @version 1.0
 */
public interface CounterService {

    Optional<Counter> getCounter(Integer id);

    void upsertCount(Counter counter);

    void clearCount(Integer id);

}